package com.twu;

public class PizzaStore {
    PizzaFactory pizzaFactory;

    public Pizza orderPizza(String flavour, String country) {
        PizzaFactory pizzaFactory;
        pizzaFactory = PizzaFactory.getFactory(country);
        Pizza pizza = pizzaFactory.createPizza(flavour);
        pizza = pizza.orderPizza();
        return pizza;
    }
}
